@import url(http://fonts.googleapis.com/css?family=Inconsolata:400,700);
@import url(http://fonts.googleapis.com/css?family=Hammersmith+One);

body {
  background-color: #6F9CC9;
}
.container {
  width: 312px;
  height: 312px;
  margin: auto;
  margin-top: 60px;
}

.heart {
  z-index: 1;
  width: 15px;
  height: 30px;
  position: absolute;
  top: 50%;
  margin-top: -4px;
  left: 50%;
  margin-left: 600px;
  background-size: 100%;
  background-repeat: no-repeat;
  background-image:url("");
}
.hometown {
  font-family:'Inconsolata', sans-serif;
  font-size: 2.0em;
  position: relative;
  z-index: 1;
  width: 512px;
  height: 12px;
  color: #FFF;
}
#top {
  width: 200px;
  margin: auto;
  position: relative;
    bottom:110px;
}
#top span {
  height: 100px;
  position: absolute;
  width: 20px;
  left: 50%;
  margin-left: 190px;
  top: 110px;

}
.char1 {
	transform: rotate(-36deg);
}
.char2 {
	transform: rotate(-24deg);
}
.char3 {
	transform: rotate(-12deg);
}
.char4 {
	transform: rotate(0deg);
}
.char5 {
	transform: rotate(12deg);
}
.char6 {
	transform: rotate(24deg);
}
.char7 {
	transform: rotate(36deg);
}


#bottom span {
  height: 500px;
  line-height: 700px;
  position: absolute;
  width: 20px;
  left: 50%;
  margin-left: 190px;
  top: -250px;
}

#bottom .char1 {
	transform: rotate(36deg);
}
#bottom .char2 {
	transform: rotate(27deg);
}
#bottom .char3 {
	transform: rotate(18deg);
}
#bottom .char4 {
	transform: rotate(9deg);
}
#bottom .char5 {
	transform: rotate(0deg);
}
#bottom .char6 {
	transform: rotate(-9deg);
}
#bottom .char7 {
	transform: rotate(-18deg);
}
#bottom .char8 {
	transform: rotate(-27deg);
}
#bottom .char9 {
	transform: rotate(-36deg);
}


.city {
  font-family:"宋体";
  display: inline-block;
  width: 100%;
  height: 300px;
  padding-top: 45px;
  text-align: center;
  font-size: 0.5em;
  z-index: 100;
  position: absolute;
  top: 50%;
  margin-top: -50px;
  margin-left:507px;
}


.heart {
  animation: HEARTBEAT 2.5s infinite;
}
#top span {
  animation: BOUNCE 2.5s infinite;
}

@keyframes HEARTBEAT {
  0% {
    transform: scale(1);
  }
  5% {
    transform: scale(1.3);
  }
  10% {
    transform: scale(1.1);
  }
  15% {
    transform: scale(1.5);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes BOUNCE {
  0% {
    top: 110px;
  }
  10% {
    top: 80px;
  }
  15% {
    top: 85px;
  }
  20% {
    top: 70px;
  }
  75% {
    top: 110px;
  }
  100% {
    top: 110px;
  }
}



